'use client';
import './index.scss';
import Breadbar from '@/components/Breadbar';
import Link from 'next/link';
import { useState } from 'react';

const faqList = [];
export default function Faq() {
  const [activeIndex, setActiveIndex] = useState(0);
  const [expanded, setExpanded] = useState<any[]>(
    Array.from({ length: faqList.length }, (v, k) => (k == activeIndex ? 1 : 0))
  );
  const handleClickCatalog = (index: number) => {
    setActiveIndex(index);
  };
  const handleToggleExpand = (index: number) => {
    const newExpanded = [...expanded];
    newExpanded[index] = !newExpanded[index];
    setExpanded(newExpanded);
  };
  return (
    <div className="main">
      <div className="main-wrapper">
        <Breadbar paths={['Frequently Asked Questions']} basePath={''} />
        
      </div>
    </div>
  );
}
